package day1;

/**
 * @author oldliu
 * @since 1.0
 */
public class SchoolTest2 {
    public static void main(String[] args) {
        School s=new School();
        s.name="合肥科海学院阜阳分院";
        s.labs=19;
        s.classRooms=13;
        s.show();
        s=null;//!!!!!!!!!!!!!!!!!!!!
        System.out.println(s);
        s.show();

//        int a = null;//error
//        //NullPointerException
//        School fy = null;
//        fy.name = "合肥科海学院阜阳分院";
//        fy.show();
    }
}
